﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CustomModel
{

    /// <summary>
    /// 
    /// </summary>
    public class ProductPayModel
    {
        public string Image { get; set; }

        public string  ProductName { get; set; }

        public decimal Price { get; set; }

        //
        public decimal AllPrice { get {
                return Price * Count;
            }  }

        public int Count { get; set; }

        public int ProductId { get; set; }

        /// <summary>
        /// 当前数量
        /// </summary>
        public int CurrentCount { get; set; }


    }
}
